package org.example.service;

import org.example.domain.po.ErpMaterial;
import org.example.domain.po.ErpMaterialCurrentStock;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
* @author 24059
* @description 针对表【erp_material_current_stock(产品当前库存)】的数据库操作Service
* @createDate 2024-11-04 10:02:47
*/
public interface ErpMaterialCurrentStockService extends IService<ErpMaterialCurrentStock> {
    boolean updateStock(Long materialId, Long depotId, BigDecimal number, Long tenantId);
    boolean updateStock2(Long materialId, Long depotId, BigDecimal number, Long tenantId, String type);
    boolean insertMaterial(ErpMaterialCurrentStock materialCurrentStock);
}
